package com.chenqi.community.service;

import com.chenqi.community.entity.Comment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Ardai
 */
public interface CommentService {

    //查找评论
    List<Comment> findCommentsByPostId(Integer pid);

    //添加评论
    void addComment(Comment comment);

    //查询评论个数

    Integer findCommentsCount(Integer pid);
}
